package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@TableName(value = "role")
public class Role {
    @TableField("id")
    private String id;

    @TableField("name")
    private String name;

    @TableField("description")
    private String description;

    @TableField("level")
    private String level;

    @TableField(exist = false)
    private List<String> permissions=new ArrayList<>();

    @TableField(exist = false)
    private String permissionsStr;
}
